import { BaseEntity } from '@cool-midway/core';
import { Column, Entity } from 'typeorm';

/**
 * 公告
 */
@Entity('app_notice')
export class NoticeEntity extends BaseEntity {
    @Column({ comment: '公告内容' })
    label: string;

    @Column({ comment: '状态: 1:正常 2:禁用', default: 1, type: 'tinyint' })
    status: number;
}